<%-- 
    Document   : tooltipchosanpham
    Created on : 25-04-2012, 10:19:24
    Author     : Huy Cuong Do
--%>

<%@page import="Model.DAO"%>
<%@page import="Business.Product"%>
<jsp:useBean id="dbBean" scope="application"
             class="Model.DAO" />
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>        
    </head>
    <body>
        <%
        request.setCharacterEncoding("UTF-8");
        response.setCharacterEncoding("UTF-8");
        String masanpham = request.getParameter("productId");
        Product sanpham = new Product();
        sanpham.setProductCode(masanpham);
        sanpham.load();
        //Product sanpham = new Product().getMotSanPham(masanpham);
               
        %>
        <ul>   
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           <img border="0" src="<%=sanpham.getImage() %>" />
         </ul>
        <ul>   
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           <b>Nhà sản xuất :</b> <%=sanpham.getProductCode()  %>
        </ul>
        <ul>   
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           <b>Thời gian bảo hành :</b><%=sanpham.getWarranty() %>&nbsp;tháng
        </ul>
        <ul>   
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           <b>CPU :</b> <%=sanpham.getCpu() %>
        </ul>
        <ul>   
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;     
        
           <b>Ổ cứng :</b><%=sanpham.getHdd()  %>&nbsp;/&nbsp;
        </ul>
        <ul>   
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           <b>Ram :</b> <%=sanpham.getRam()  %>
        </ul>
        <ul>   
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           <b>Modem :</b><%=sanpham.getVendor()  %>
        </ul>
        <ul>   
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           <b>Màn hình :</b><%=sanpham.getDisplay() %>
        </ul>
        <ul>   
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           <b>Card màn hình :</b><%=sanpham.getCardmonitor() %>
        </ul>
        <ul>   
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           <b> Hệ điều hành :</b> <%=sanpham.getOS()  %>
        </ul>
        <ul>   
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           <b> DWD-WL :</b><%=sanpham.getDVDWL()  %>
        </ul>
        <ul>   
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           <b>WEIGHT/HEIGHT </b><%=sanpham.getWeightheight() %>
        </ul>
        <ul>   
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           <b> Pin:</b><%=sanpham.getBattery() %>
        </ul>

        
        
        
   
        
            
        
            
    </body>
</html>
